package com.zh.springcloud.service;

import com.zh.springcloud.common.Result;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @Description:
 * @ClassName AccountService
 * @date: 2021.08.12 18:46
 * @Author: zhanghang
 */
public interface AccountService {

	/**
	 * description: 扣减余额
	 * date: 2021年-08月-12日 19:46
	 * author: zhanghang
	 * 
	 * @param userId
 * @param money
	 * @return com.zh.springcloud.common.Result<?>
	 */ 
	Result<?> decrease(Long userId, BigDecimal money);
}
